﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Utilities;
using Entity;
using System.Collections.ObjectModel;


namespace UI
{
    public partial class TestForm : Form
    {
        public TestForm()
        {
            EsriUtility.InitEsriLicense();
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            CampusNALayer cn = new CampusNALayer();
            //cn.SolveRoute();
            
            //EFacility f = cn.GetClosestPump(303);
            cn.SolveRoute(303);
            //MessageBox.Show(f.FacilityNo.ToString()+"        "+f.LenToIncidence.ToString());
            
        }

    }
}
